phph get server protocol

127

phph get server protocol -

$protocol = stripos($_SERVER['SERVER_PROTOCOL'],'https') === 0 ? 'https://' : 'http://';

Comments

Submit
0 Comments